package com.kun.music.controller;

import com.kun.music.service.ListSongService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author fangkun
 * @create 2023-01-05-9:39
 */
@RestController
public class ListSongController {

    @Autowired
    private ListSongService listSongService;

    @GetMapping("/listSong/detail")
    public Object getListSongOfSongId(@RequestParam("songListId") int id){
        return listSongService.getListSongOfSongId(id);
    }
}
